home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 7: Sunsite / Linux Cubed Series 7 - Sunsite Vol 1.iso / system / admin / linuxcon.000 / linuxcon / linuxconf-1.6 / misc / misc.p < prev    next >
Text File  |  1996-08-03  |  5KB  |  152 lines

  1. /* _dict.c 14/04/96 23.56.46 */
  2. /* array.c 15/01/96 00.57.16 */
  3. /* confdb.c 10/11/95 20.19.08 */
  4. /* configf.c 03/08/96 22.34.56 */
  5. int file_exist (const char *path);
  6. long file_date (const char *path);
  7. void configf_show (void);
  8. void configf_booterase (void);
  9. /* error.c 25/06/96 01.03.14 */
  10. void xconf_error (const char *msg, ...);
  11. void xconf_notice (const char *msg, ...);
  12. /* fgets.c 20/03/96 11.59.02 */
  13. char *fgets_strip (char *buf,
  14.      int sizebuf,
  15.      FILE *fin,
  16.      char contcar,
  17.      char comcar,
  18.      int *noline,
  19.      int *empty);
  20. char *fgets_strip (char *buf,
  21.      int sizebuf,
  22.      FILE *fin,
  23.      char contcar,
  24.      char comcar,
  25.      int *noline);
  26. char *fgets_strip (char *buf, int sizebuf, FILE *fin, int *noline);
  27. int fgets_cont (char *buf, int size, FILE *fin);
  28. const char *fgets_comments (char buf[],
  29.      int size,
  30.      FILE *fin,
  31.      SSTRING&comments);
  32. void comment_write (const SSTRING&str, FILE *fout);
  33. /* file.c 02/03/96 22.53.50 */
  34. int file_copy (const char *src, const char *dst);
  35. /* fopen.c 09/03/96 23.19.02 */
  36. FILE *xconf_fopen (const char *fname, const char *mode);
  37. /* fopen1.c 07/06/96 00.08.40 */
  38. FILE *xconf_fopencfg (const char *fname, const char *mode);
  39. /* helpf.c 12/05/96 02.12.54 */
  40. void help_setlang (const char *_lang);
  41. void helpf_checkall (void);
  42. /* linuxconf.c 20/07/96 22.27.38 */
  43. const char *linuxconf_getval (const char *prefix, const char *key);
  44. int linuxconf_getvalnum (const char *prefix,
  45.      const char *key,
  46.      int defval);
  47. int linuxconf_getall (const char *prefix,
  48.      const char *key,
  49.      SSTRINGS&lst,
  50.      int copy);
  51. void linuxconf_removeall (const char *prefix, const char *key);
  52. int linuxconf_save (void);
  53. void linuxconf_add (const char *prefix,
  54.      const char *key,
  55.      const char *val);
  56. void linuxconf_add (const char *prefix,
  57.      const char *key,
  58.      const SSTRING&val);
  59. void linuxconf_replace (const char *prefix,
  60.      const char *key,
  61.      const char *val);
  62. void linuxconf_replace (const char *prefix, const char *key, int val);
  63. void linuxconf_replace (const char *prefix,
  64.      const char *key,
  65.      const SSTRING&val);
  66. void linuxconf_replace (const char *prefix,
  67.      const char *key,
  68.      const SSTRINGS&vals);
  69. /* malloc.c 02/03/96 22.55.50 */
  70. void *malloc_err (int size);
  71. char *strdup_err (const char *str);
  72. /* menus.c 25/10/95 00.19.06 */
  73. void menuopt_sort (const char **menuopt, int nbmenu, int sort_second);
  74. /* misc.c 18/02/96 14.32.16 */
  75. /* module.c 03/08/96 22.38.20 */
  76. void module_setmenu (DIALOG&dia, MENU_CONTEXT context);
  77. int module_probe (int state, int target);
  78. void module_domenu (MENU_CONTEXT context, const char *key);
  79. void module_config (void);
  80. void module_load (void);
  81. /* popen.c 03/08/96 22.29.00 */
  82. /* sstring.c 03/08/96 22.33.22 */
  83. /* sstrings.c 14/10/95 23.26.26 */
  84. /* str.c 06/06/96 23.39.00 */
  85. int str_strip (const char *str, char *newstr);
  86. char *strip_end (char *str);
  87. char *str_skip (const char *str);
  88. char *str_skipdig (const char *str);
  89. char *str_copyword (char *dest, const char *str);
  90. char *str_copyword (SSTRING&dest, const char *str);
  91. void tbstr_free (char *tb[], int nb);
  92. int stricmp (const char *str1, const char *str2);
  93. void strupr (char *str);
  94. const char *str_extract (const char *buf, SSTRING&s);
  95. /* uname.c 03/04/96 00.02.40 */
  96. int kernel_version (int v[3]);
  97. int kernel_newer (int v0, int v1, int v2);
  98. /* xconf1.c 15/06/96 00.40.44 */
  99. MENU_STATUS xconf_menu_gen (const char *title,
  100.      const char *explan,
  101.      HELP_FILE&helpfile,
  102.      int options,
  103.      const char *opt[],
  104.      int &choice);
  105. MENU_STATUS xconf_menu (const char *title,
  106.      const char *explan,
  107.      HELP_FILE&helpfile,
  108.      const char *opt[],
  109.      int &choice);
  110. MENU_STATUS xconf_menu (const char *title,
  111.      const char *explan,
  112.      const char *opt[],
  113.      int &choice);
  114. MENU_STATUS xconf_menu (const char *title,
  115.      const char *explan,
  116.      HELP_FILE&helpfile,
  117.      const char *save_what,
  118.      const char *ins_what,
  119.      const char *del_what,
  120.      const char *add_what,
  121.      const char *opt[],
  122.      int &choice);
  123. MENU_STATUS xconf_yesno (const char *title,
  124.      const char *prompt,
  125.      HELP_FILE&helpfile);
  126. int xconf_quitwosave (void);
  127. int xconf_areyousure (const char *msg);
  128. /* xconf2.c 25/06/96 01.03.40 */
  129. MENU_STATUS xconf_inputbox (const char *title,
  130.      const char *explan,
  131.      HELP_FILE&helpfile,
  132.      char buffer[MAX_LEN+1]);
  133. MENU_STATUS xconf_inputpass (const char *title,
  134.      const char *explan,
  135.      HELP_FILE&helpfile,
  136.      char buffer[MAX_LEN+1]);
  137. MENU_STATUS xconf_multiinp (const char *title,
  138.      const char *intro,
  139.      HELP_FILE&helpfile,
  140.      const char *prompts[],
  141.      char minstr[][MAX_LEN+1],
  142.      int nbfield,
  143.      int edit,
  144.      int nof);
  145. int xconf_checklist (const char *title,
  146.      const char *prompt,
  147.      HELP_FILE&helpfile,
  148.      int list_height,
  149.      int item_no,
  150.      char **items,
  151.      char *status);
  152.